package com.lb.trac.pojo.condition;

import java.math.BigDecimal;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;

import com.lb.trac.util.SQLCondition;

public class TicketFinderByIdTicket implements SQLCondition {

	private String idTicket;

	
	public TicketFinderByIdTicket(String idTicket) {
		super();
		this.idTicket = idTicket;
	}


	public Criterion create(Object... params) {
		return Restrictions.eq("idTicket", new BigDecimal(idTicket));
	}

}
